package com.j2ee.struts.action;

import com.j2ee.model.Student;
import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
public class PersonAction extends ActionSupport{
	
	private Student student ;
	
	public void setStudent(Student student) {
		System.out.println("setStudent()");
		this.student = student;
	}
	
	public Student getStudent() {
		System.out.println("getStudent()");
		return student;
	}

	public String showParam() {
		System.out.println(student);
		return SUCCESS ;
	}

}
